#!/bin/bash
CODE_DIR=script_after
RUN_DIR=mindspore_pkg
LOCAL_DIR=$(cd "$(dirname "$0")";pwd)

sudo pip uninstall mindspore -y
sudo pip install ${LOCAL_DIR}/${CODE_DIR}/${RUN_DIR}/mindspore_ascend-0.5.0-cp37-cp37m-linux_aarch64.whl
